package com.dzsw.duplicatedata;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @author sunz
 * @version 1.0
 * @CreateTime 2021-04-21-16:18
 */
public class DuplicateDataHelper {

    private static List<SampleBean> data;
    static {
        data = new ArrayList<>();
        LocalDateTime now = LocalDateTime.now();
        try {
            Thread.sleep(500);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        data.add(new SampleBean(1L, "老大1", 1, now));
        data.add(new SampleBean(2L, "老大2", 1, LocalDateTime.now()));
        data.add(new SampleBean(3L, "老大3", 1, LocalDateTime.now()));
        data.add(new SampleBean(4L, "老大4", 1, LocalDateTime.now()));
        data.add(new SampleBean(5L, "老大5", 1, LocalDateTime.now()));
        data.add(new SampleBean(6L, "老大6", 1, LocalDateTime.now()));
        data.add(new SampleBean(7L, "老大7", 1, LocalDateTime.now()));
        data.add(new SampleBean(8L, "老大8", 1, LocalDateTime.now()));
        data.add(new SampleBean(9L, "老大9", 1, LocalDateTime.now()));
        data.add(new SampleBean(10L, "老大10", 1, LocalDateTime.now()));
        data.add(new SampleBean(13L, "老大13", 1, LocalDateTime.now()));
        data.add(new SampleBean(11L, "老大11", 1, LocalDateTime.now()));
        data.add(new SampleBean(12L, "老大12", 1, LocalDateTime.now()));
        data.add(new SampleBean(1L, "老大1", 0, now));
    }

    public static List<SampleBean> getData() {
        return data;
    }
}
